import request from '@/axios/request'

// 0.1资源数量信息
export function myResource(params) {
    return request({
      url: '/zhixuan/api/v1/user/opt/myResource',
      method: 'get',
      params
    })
  }
 // 0.2最新发布房源
export function findUserPubBuiHouse(data) {
  return request({
    url: '/zhixuan/api/v1/user/opt/findUserPubBuiHouse',
    method: 'POST',
    data
  })
}
 // 0.3楼书浏览量
 export function limitJson(data) {
  return request({
    url: '/zhixuan/api/v1/brochure/limit/json',
    method: 'POST',
    data
  })
}
 // 0.4 我的足迹
 export function findVisitHouse(data) {
  return request({
    url: '/zhixuan/api/v1/user/opt/findVisitHouse',
    method: 'POST',
    data
  })
}
 // 0.5 广告列表
 export function accountFirstPage(data) {
  return request({
    url: '/zhixuan/api/v1/advert/accountFirstPage',
    method: 'post',
    data
  })
}
 // 0.6 本周内发布房源数量
 export function weekPublishHouse(params) {
  return request({
    url: '/zhixuan/api/v1/user/opt/weekPublishHouse',
    method: 'get',
    params
  })
}
 // 统计浏览量量(多个)
 export function countVisits(data) {
  return request({
    url: '/zhixuan/api/v1/user/opt/countVisits',
    method: 'post',
    data
  })
}
